STEP 1: Let's create a variable to control the size of our stars.

The variable star_size is an integer variable because it stores a whole number.

  • In LOGIC, go to and drag out Integer Variable. Drop it on the line 3 right above your first star.
  • Change the variable name to star_size.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)